const mongoose = require('../db/db')
const options = {
    versionKey: false,
    autoIndex: true, // auto create indexes
}

const Schema = mongoose.Schema
const warehouseSchema = new Schema({
        uuid: String,
        date: String,
        name: String,
        nums: String,
        price: String,
        totalPrice: String,
        sulipper: String,
        phone: String,
        userId: String,
        delete:String
    },
    options
)

module.exports = mongoose.model('warehouse',warehouseSchema,'warehouse')